/**
 * @filename:YouXiangService Jan 9, 2024
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.Tupian;
import com.wonder.app.domain.YouXiang;
import com.wonder.app.request.YouXiangRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**   
 * @Description:TODO(邮箱管理服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface YouXiangService extends IService<YouXiang> {

    
    /**
     * 验证邮箱管理信息
     * 
     * @param youXiang
     * @param type
     * @return 结果
     */
    public String validate(YouXiang youXiang,String type);   
   
	
	 /**
	 * Description:邮箱管理分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<YouXiang>   //分页记录
	 */
    public IPage<YouXiang> selectList(YouXiangRequest request, Page<YouXiang> page);


	//public boolean sendMail(YouXiang entity);

    //发送邮件
	public boolean  sendMail(String addressee , String text , String title , String host , String user , String password);
	//提交
	boolean youXiangTiJiao(Long fid);
	//撤销
	boolean youXiangCheXiao(Long fid);
	//审核
	boolean youXiangShenHe(Long fid);
	//反审核
	boolean youXiangFanShenHe(Long fid);
}
